#include "widget.h"
#include "ui_widget.h"
#include<QTextEdit>
#include<QDebug>
Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    ui->textEdit->setText("多行输入框多行输入框多行输入框多行输入框多行输入框多行输入框");



}

Widget::~Widget()
{
    delete ui;
}

//选择改变的时候触发
void Widget::on_textEdit_copyAvailable(bool b)
{
    if(b)
   qDebug()<<"选择改变了";

}


